package net.yxsoft.controller.pc.sysmgt.common;

import com.jfinal.config.Routes;
import net.yxsoft.controller.pc.sysmgt.*;
import net.yxsoft.resource.PathRes;


/**
 * @MethodName: 系统管理 路由
 * @Description:
 * @param: null
 * @return * @return null
 * @throws
 * @date 2023/8/31 15:32
 * @author jhf
 */
public class PCSysMgtRoutes extends Routes {

  @Override
  public void config() {
    final String ROOT_URL = PathRes.URL_PC_MGT_ROOT;
    final String VIEW_ROOT_PATH = PathRes.PATH_PC_MGT_VIEW;

    setBaseViewPath(VIEW_ROOT_PATH);


    add(ROOT_URL + "/formdesigner", FormDesignerController.class, "/formdesigner");
    add(ROOT_URL + "/formdata", FormDataController.class, "/formdata");

    add(ROOT_URL + "/lifecycexample", LifecycExampleController.class, "/lifecycexample");
    add(ROOT_URL + "/lifecycle", LifecycleController.class, "/lifecycle");
    add(ROOT_URL + "/life", LifeController.class, "/life");

    add(ROOT_URL + "/block", BlockController.class, "/block");

    add(ROOT_URL + "/area", AreaController.class, "/area");
    add(ROOT_URL + "/synonym", SynonymController.class, "/synonym");
    add(ROOT_URL +"/apply", ApplyForController.class, "/applyfor");
    add(ROOT_URL +"/remoteApp", RemoteAppController.class, "/manageIndex");
    add(ROOT_URL +"/machineMonitor", MachineMonitorController.class, "/chartPage");
    add(ROOT_URL +"/blockchainManagement", BlockchainManagementController.class, "/blockchainManagement");
    add(ROOT_URL +"/nodeAccount", NodeAccountController.class, "/nodeAccount");
    add(ROOT_URL +"/warn", WarnController.class, "/warn");
    add(ROOT_URL +"/chianPackAge", ChianPackAgeController.class, "/chianPackAge");
    add(ROOT_URL +"/chianCommittee", ChianCommitteeController.class, "/chianCommittee");
    add(ROOT_URL +"/unitmanage", RemoteAppController.class, "/unitmanage");
  }
}